package com.cqust.icc.controller;

import com.cqust.icc.aspect.Log;
import com.cqust.icc.biz.CardBiz;
import com.cqust.icc.entity.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * @author 张成
 * @version 1.0
 * @date 2022/3/24 14:32
 */
@Controller
public class CardController {

    @Autowired
    private CardBiz cardBiz;

    @Log(moduleName = "新增用户")
    public String charge(UserInfo user) {
        cardBiz.chargeBiz(user);
        return "222";
    }
}
